<template>
  <div>
    <x-header :left-options="{backText:'返回'}">项目图片</x-header>
    <ul>
      <li v-for='(i,index) in imgList' :key='index'>{{i}}</li>
    </ul>
  </div>
</template>
<script>
export default {
  name:'projectPicDetail',
  data(){
    return {
      imgList:[]
    }
  },
  methods:{
    getParams(){
      var params=this.$route.query.params;
      this.imgList=JSON.parse(params);
    }
  },
  mounted(){
    this.getParams()
  }
}
</script>
<style scoped>
  div{
    font-size:10px;
  }
  ul,li{
    margin:20px 10px;padding:0;
  }
</style>
